package com.nsl.my_youlai.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.nsl.my_youlai.common.base.BaseEntity;
import com.nsl.my_youlai.common.enums.DocxTemplateStatusEnum;
import lombok.Data;
import lombok.ToString;

@ToString(callSuper=true)
@Data
public class DocxTemplateEntity extends BaseEntity {

    //指定主键生成策略为不含中划线的UUID
    @TableId(type = IdType.ASSIGN_UUID)
    private String uuid;

    //模板编号
    private String templateSn;

    private Integer majorCategoryFirstLevelId;

    private Integer majorCategorySecondLevelId;


    private String authorName;

    private String templateDocxName;


    private String templateExcelName;

    private String version;

    private String description;

    private String templateDocxFilePath;

    private String templateExcelFilePath;

    private String templateDocxMd5;

    private String templateExcelMd5;

    private Integer regionId;

    /**
     * 逻辑删除标识(0:未删除;1:已删除)
     */
    private Integer deleted;

    private DocxTemplateStatusEnum statusEnum;
}
